package com.cimr.comm.controller.websocket;

import com.cimr.comm.aop.FullPage;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by liqi on 2018/4/26.
 * liqiwork@qq.com
 */
@Controller
@RequestMapping("/websocket")
public class WebsocketController {
    @FullPage(menu = "websocket_index")
    @RequestMapping({"index","nav/index"})
    public ModelAndView index(HttpServletRequest request) {
        return new ModelAndView("comm/websocket/websocket");
//        return new ModelAndView("comm/manager/userManager");
    }
}
